﻿<UserControl x:Class="InsuranceAdjuster.Views.NewsView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" d:DesignWidth="997" d:DesignHeight="620"
    Width="1000" Height="660"
             >

    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="{StaticResource TitleBarHeight}"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <TextBlock  x:Name="Title" Margin="0,31,0,0"  HorizontalAlignment="Left" TextWrapping="Wrap" Text="Today News" Style="{StaticResource TitleStyle}" d:LayoutOverrides="Height" FontFamily="Arial"/>
        <WebBrowser Grid.Row="1" x:Name="webBrowser" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Source="/HTML/InsuranceNews.html"/>
        <StackPanel Grid.Row="2" Background="{StaticResource YellowBrush}">
            <HyperlinkButton Content="Update News" Margin="0,0,0,0"  Height="20.75" HorizontalAlignment="Stretch" Name="btnUpdate" Click="btnUpdate_Click" Style="{StaticResource LinkStyle}" FontFamily="Arial" FontWeight="Bold" FontSize="15" Foreground="Black" Background="{StaticResource YellowBrush}" Width="239" >               
            </HyperlinkButton>
        </StackPanel>

    </Grid>
</UserControl>
